import request from '@/utils/request'

/* 01获取保利威加密视频的token */
export function getVideoToken(params) {
  return request({
    url: '/video/token',
    method: 'get',
    params
  })
}

/* Video | 02.获取聊天室token */
export function getChatSign(data) {
  return request({
    url: '/chat/sign',
    method: 'post',
    params: data
  })
}

/* Video | 02.获取聊天室token */
export function getChatToken(data) {
  return request({
    url: '/chat/token',
    method: 'post',
    params: data
  })
}
